/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package game.server;

/**
 *
 * @author RERIR
 */
class GameException extends Exception {
    private Gamer[] gamers;

    public GameException(Gamer[] gamer, String string) {
        super(string);
        this.gamers = gamer;
    }

    @Override
    public String getMessage() {
        String str = super.getMessage() + " for users:\n";
        for (Gamer g : gamers) str += g +"\n";
        return str;
    }
    
}
